
#conding=utf-8

def sort_list(the_list):
#[3,2,1,4,0]
	for i in range(0,len(the_list)):
		for j in range(i+1,len(the_list)):
			print(the_list)
			if the_list[i]>the_list[j]:
				the_list[i],the_list[j]=the_list[j],the_list[i]
	return the_list


if __name__ == '__main__':
	print(sort_list([3,2,1,4,0]))
